package com.woniu.car.param;

import com.sun.istack.internal.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @Author chestnuts tlx
 * @create 2021/6/30 19:23
 */
@Data
public class QueryGoodsCommentParam {
    @Min(value = 1, message = "订单ID有误")
    @ApiModelProperty(value = "订单ID",example = "1")
    private Integer orderId;

    /**
     * 用户id
     */
    @NotNull
    @Min(value = 1, message = "用户信息有误")
    @ApiModelProperty(value = "用户ID",example = "1")
    private Integer userId;

    /**
     * 用户id
     */
    @Min(value = 1, message = "用户信息有误")
    @ApiModelProperty(value = "订单评论状态0.待追加评论,1.评论过",example = "0")
    private Integer status;



}
